package cn.liip.demo.UserService;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.liip.demo.domain.Artisan;
import cn.liip.demo.mapper.ArtisanMapper;

@Service
public class ArtisanService {
	@Autowired
	private ArtisanMapper artisanMapper;
	
	public List<Artisan> getArtisanList() {
		return artisanMapper.selectArtisan();
	}
}
